package com.jasony.tools.excel;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Auther youqin
 * @Create 2018/12/4 上午11:43
 **/
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelColumn {

    String title() default "";

    int priority() default -1;

    /**
     * <see>org.apache.poi.ss.usermodel.BuiltinFormats</see>
     *
     * @return
     */
    String format() default "General";

    String defaultValue() default "";
}
